package com.neusoft.elmboot.mapper;

import com.neusoft.elmboot.po.RolePermission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author Administrator
* @description 针对表【role_permission(角色权限关系表)】的数据库操作Mapper
* @createDate 2024-03-26 08:22:32
* @Entity com.neusoft.elmboot.po.RolePermission
*/

public interface RolePermissionMapper {

    int deleteByRoleId(Integer id);

    int insert(RolePermission record);

    int insertBatch(Map<String,Object> map);

    int insertSelective(RolePermission record);

    List<RolePermission> selectByRoleId(Integer id);

    List<String> selectPermApiByRoleId(Integer id);

    int updateByPrimaryKeySelective(RolePermission record);

    int updateByPrimaryKey(RolePermission record);

}
